<template>
  <div class="iconList">
    <div class="iconItem">
      <van-icon name="star-o" size="30" />
      <span>每日推荐</span>
    </div>
    <div class="iconItem">
      <van-icon name="music-o" size="30" />
      <span>私人FM</span>
    </div>
    <div class="iconItem">
      <van-icon name="service-o" size="30" />
      <span>歌单</span>
    </div>
    <div class="iconItem">
      <van-icon name="bar-chart-o" size="30" />
      <span>排行榜</span>
    </div>
  </div>
</template>

<script>
import { ref, reactive, onMounted } from 'vue'
export default {
  name: 'Icon',
  setup() {
    let icon = '歌单'
    let active = ref(icon)

    return { active }
  }
}
</script>

<style lang="less" scoped>
.iconList {
  width: 100%;
  height: 2rem;
  margin-top: 0.2rem;
  display: flex;
  justify-content: space-around;
  align-items: center;
  .iconItem {
    width: 25%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}
</style>